<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<!--  여기까지 설명 끝 -->

<%
	request.setCharacterEncoding("utf-8");
	String mid = request.getParameter("mid");
	String pwd = request.getParameter("pwd");
	String address = request.getParameter("address");
	String gender = request.getParameter("gender");
%>
성명 : <%=mid %>
암호 : <%=pwd %>
주소 : <%=address%>
성별 : <%=gender %>

<p/>
<h2> Java Been으로 컨트롤한 결과</h2>
<jsp:useBean id="ttt" class="test.Test" scope="page"></jsp:useBean>
<jsp:setProperty property="*" name="ttt"/>
<%= ttt %>
<!-- test.Test ttt = new test.Test() 와 같은거임 -->
</body>
</html>